<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>检查一个 oauth 请求</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="oauthprovider.calltokenhandler.html">« OAuthProvider::calltokenHandler</a></li>
      <li style="float: right;"><a href="oauthprovider.construct.html">OAuthProvider::__construct »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.oauthprovider.html">OAuthProvider</a></li>
    <li>检查一个 oauth 请求</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="oauthprovider.checkoauthrequest" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OAuthProvider::checkOAuthRequest</h1>
  <p class="verinfo">(PECL OAuth &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">OAuthProvider::checkOAuthRequest</span> &mdash; <span class="dc-title">检查一个 oauth 请求</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-oauthprovider.checkoauthrequest-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OAuthProvider::checkOAuthRequest</strong></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$uri</code><span class="initializer"> = ?</span></span>, <span class="methodparam"><span class="type">string</span> <code class="parameter">$method</code><span class="initializer"> = ?</span></span>): <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   检查一个 OAuth 请求。
  </p>

  <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-oauthprovider.checkoauthrequest-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">uri</code></dt>

    <dd>

     <p class="para">
      可选的 <abbr title="Uniform Resource Identifier">URI</abbr> 或终点。
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">method</code></dt>

    <dd>

     <p class="para">
       <abbr title="Hypertext Transfer Protocol">HTTP</abbr> 方法。 可选 <strong><code>OAUTH_HTTP_METHOD_*</code></strong> <a href="oauth.constants.html" class="link">OAuth 常量</a> 其中之一传递。
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-oauthprovider.checkoauthrequest-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-oauthprovider.checkoauthrequest-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">
  如果不能检测到 HTTP 方法，则发出一个 <strong><code>E_ERROR</code></strong> 级别的错误。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-oauthprovider.checkoauthrequest-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="oauthprovider.reportproblem.html" class="methodname" rel="rdfs-seeAlso">OAuthProvider::reportProblem()</a> - 报告问题</span></li>
  </ul>
 </div>


</div></div></div></body></html>